<template>
  <el-input v-model="input3" placeholder="请输入内容" class="input-with-select">
    <el-select slot="prepend" v-model="select" placeholder="请选择">
      <el-option label="餐厅名" value="1" />
      <el-option label="订单号" value="2" />
      <el-option label="用户电话" value="3" />
    </el-select>
  </el-input>
</template>

<script>
export default {
  data() {
    return {

      select: ''
    }
  }
}
</script>

<style lang="less" scoped>
.el-select {
    width: 130px;
  }

</style>
